/**
 * Created by Administrator on 2018/6/20.
 */
$(function(){
    /*点击每行向上箭头显示相应内容，同时箭头朝下*/
    /*模态框1*/
    $('.icon1').on('click',function(){
        $('.modal1').toggleClass('show');
        $(this).toggleClass('glyphicon-chevron-down').addClass('glyphicon-chevron-up')
    });
    /*模态框2*/
    $('.icon2').on('click',function(){
        $('.modal2').toggleClass('show');
        $(this).toggleClass('glyphicon-chevron-down').addClass('glyphicon-chevron-up')
    })
    /*模态框3*/
    $('.icon3').on('click',function(){
        $('.modal3').toggleClass('show');
        $(this).toggleClass('glyphicon-chevron-down').addClass('glyphicon-chevron-up')
    })
    /*模态框4*/
    $('.icon4').on('click',function(){
        $('.modal4').toggleClass('show');
        $(this).toggleClass('glyphicon-chevron-down').addClass('glyphicon-chevron-up')
    })
    /*点击恢复按钮value为0*/
    $('[type="reset"]').on('click',function(){
        $('input').val('')
    })
});